package com.example.a_java.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.a_java.entity.LoanApply;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 贷款申请Mapper接口
 */
public interface LoanApplyMapper extends BaseMapper<LoanApply> {
    
    /**
     * 根据贷款编号查询贷款申请信息
     * 
     * @param loanNo 贷款编号
     * @return 贷款申请信息
     */
    @Select("SELECT * FROM loan_apply WHERE loan_no = #{loanNo}")
    LoanApply selectByLoanNo(@Param("loanNo") String loanNo);
} 
